package top.h1234.codesandbox.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 执行代码的响应体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExecuteCodeResponse {

    /*输出结果列表*/
    private List<String> outputResultList;

    /*沙箱执行信息*/
    private String message;

    /*执行状态 1-正常执行，2-编译失败，3-用户代码错误，4-代码沙箱错误*/
    private Integer status;

    /*判题信息*/
    private JudgeInfo judgeInfo;

}
